summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Kinloch <colin.kinloch@collabora.com>2022-12-29 17:29:50 +0100
committerColin Kinloch <colin.kinloch@collabora.com>2022-12-30 14:51:35 +0100
commit28cfc2146f1226aa0b43efb15b8147130c92f8ae (patch)
tree64f8088bb5cef3192f0e4cb7982c53794ce12c7e
parentsettings: added regon/language warning bounds check (diff)
downloadyuzu-28cfc2146f1226aa0b43efb15b8147130c92f8ae.tar
yuzu-28cfc2146f1226aa0b43efb15b8147130c92f8ae.tar.gz
yuzu-28cfc2146f1226aa0b43efb15b8147130c92f8ae.tar.bz2
yuzu-28cfc2146f1226aa0b43efb15b8147130c92f8ae.tar.lz
yuzu-28cfc2146f1226aa0b43efb15b8147130c92f8ae.tar.xz
yuzu-28cfc2146f1226aa0b43efb15b8147130c92f8ae.tar.zst
yuzu-28cfc2146f1226aa0b43efb15b8147130c92f8ae.zip
-rw-r--r--src/yuzu/configuration/configure_system.cpp20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp
index 13bbc4ad9..94049f2f4 100644
--- a/src/yuzu/configuration/configure_system.cpp
+++ b/src/yuzu/configuration/configure_system.cpp
@@ -15,13 +15,19 @@
#include "yuzu/configuration/configure_system.h"
constexpr std::array<u32, 7> LOCALE_BLOCKLIST{
- 0b100011100001100000, // Japan
- 0b000001101001100100, // Americas
- 0b100110100001000010, // Europe
- 0b100110100001000010, // Australia
- 0b000000000000000000, // China
- 0b100111100001000000, // Korea
- 0b100111100001000000, // Taiwan
+ // pzzefezrpnkzeidfej
+ // thhsrnhutlohsternp
+ // BHH4CG U
+ // Raa1AB S
+ // nn9
+ // ts
+ 0b0100011100001100000, // Japan
+ 0b0000001101001100100, // Americas
+ 0b0100110100001000010, // Europe
+ 0b0100110100001000010, // Australia
+ 0b0000000000000000000, // China
+ 0b0100111100001000000, // Korea
+ 0b0100111100001000000, // Taiwan
};
static bool IsValidLocale(u32 region_index, u32 language_index) {